import java.io.FileNotFoundException;
import java.sql.SQLException;

import javax.naming.NamingException;


/**
 * @author Yin Zhang, 5393558
 * @version 0.1, 07 May 2008, initial creation
 */
public class RunBuild001Student
{	
	public static void main(String[] args) throws SQLException, FileNotFoundException, NamingException
	{
		StudentUserStory stu = new StudentUserStory();
		try
		{
			if (args.length != 1)
			{
				stu.printStudents();
			}
			else
			{
				stu.checkSudentNumber(args[0]);
			}
		}
		finally
		{
			stu.close();
		}
	}
}